package com.project.bean;

/**
 * 收件箱实体类
 */
public class InBoxBean {
    //收件箱id
    private Integer inboxId;
    //收件人的邮件状态
    private String readState = "未读";
    //收件人对象
    private UserBean userBean;
    //邮件对象
    private EmailBean emailBean;

    public InBoxBean() {
    }

    public InBoxBean(String readState, UserBean userBean, EmailBean emailBean) {
        this.readState = readState;
        this.userBean = userBean;
        this.emailBean = emailBean;
    }

    public Integer getInboxId() {
        return inboxId;
    }

    public void setInboxId(Integer inboxId) {
        this.inboxId = inboxId;
    }

    public String getReadState() {
        return readState;
    }

    public void setReadState(String readState) {
        this.readState = readState;
    }

    public UserBean getUserBean() {
        return userBean;
    }

    public void setUserBean(UserBean userBean) {
        this.userBean = userBean;
    }

    public EmailBean getEmailBean() {
        return emailBean;
    }

    public void setEmailBean(EmailBean emailBean) {
        this.emailBean = emailBean;
    }

    @Override
    public String toString() {
        return "InBoxBean{" +
                "inboxId=" + inboxId +
                ", readState='" + readState + '\'' +
                ", userBean=" + userBean +
                ", emailBean=" + emailBean +
                '}';
    }
}
